<table class="table table-striped table-bordered table-hover dataTables-example" >
    <thead>
        <tr>
            <th>标题</th>
            <th>作者</th>
            <th>分类</th>
            <th>标签</th>
            <th>评论</th>
            <th>日期</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
    <empty name="list.list">
        <tr><td colspan="9">检索不到相关文章</td></tr>
        <else/>
        <volist name="list.list" id="vo">
            <tr class="gradeX">
                <td>{$vo.post_title}</td>
                <td class="center">{$vo.author}</td>
                <td>{$vo.item_names}</td>
                <td class="center">{$vo.tag_names}</td>
                <td class="center">{$vo.comment}</td>
                <td class="center">{$vo.create_time|date}</td>
                <td><a href="{:U('Post/edit',array('post_id'=>$vo['post_id']))}">编辑</a></td>
            </tr>
        </volist>
    </empty>
</tbody>
</table>
<notempty name="list.list">
    <div class="pull-left">
        共<strong>{$list.count}</strong>篇文章
    </div>
    {$list.page}
</notempty>
